﻿namespace AGooday.AgChat.Api.Models
{
    public class GroupMember
    {
        public int Id { get; set; }
        public int GroupId { get; set; }
        public int UserId { get; set; }
        public string Role { get; set; } = "member"; // admin, member
        public DateTime JoinedAt { get; set; } = DateTime.UtcNow;

        public virtual Group Group { get; set; }
        public virtual User User { get; set; }
    }
}
